@import './common';
@import './head';
@import './foot';

.title-box {
    text-align: center;
    margin-bottom: 30px;

    p {
        margin-bottom: 0;

        &:first-child {
            margin-bottom: 15px;
        }

        &:nth-child(2) {
            margin-bottom: 15px;
        }
    }

    .title-line {
        width: 52px;
        height: 3px;
        background: #7992A6;
        margin: 0 auto;
    }
}


.process-box {
    background: url('../images/web_231.png') no-repeat;
    background-size: cover;
    padding: 60px 0 10px 0;
    color: #ffffff;

    .title-box {
        @extend .title-box;
        margin-bottom: 35px;

        .title-line {
            background: #fff;
        }
    }

    .process-list {
        padding: 0 8%;
        margin: 0;

        img {
            width: 60px;
            height: auto;
            margin-right: 20px;
        }

        .process-item {
            margin-bottom: 55px;

            .item-top {
                margin-bottom: 15px;

                .top-line {
                    height: 1px;
                    flex: 1;
                    background: #fff;
                }
            }

            .item-title {
                margin-bottom: 40px;
                position: relative;

                &::after {
                    content: '';
                    display: block;
                    width: 50px;
                    height: 5px;
                    background: #fff;
                    position: absolute;
                    top: 50px;
                    left: 0;
                }
            }

            .item-desc {
                line-height: 36px;
                font-size: 18px;
            }
        }
    }
}

.cases-box {
    padding: 60px 8% 30px 8%;

    .cases-item {
        text-align: center;
        margin-bottom: 30px;

        img {
            max-width: 385px;
            width: 100%;
            height: auto;
            margin-bottom: 15px;
        }
    }
}

.contact-box {
    background: url('../images/26.png') no-repeat;
    background-size: cover;

    img {
        width: 100%;
    }

    .contact-content-box {
        padding: 40px 18.75%;
        display: flex;
        justify-content: center;
        align-items: center;

        .form-box {
            padding: 50px 27%;
            border: 3px solid #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 18px;

            input {
                border: none;
                width: 550px;
                height: 50px;
                background: rgba($color: #ffffff, $alpha: 0.7);
                border-radius: 4px;
                padding-left: 9px;
                margin-bottom: 30px;
            }

            textarea {
                border: none;
                resize: none;
                width: 550px;
                height: 150px;
                background: rgba($color: #ffffff, $alpha: 0.7);
                border-radius: 4px;
                padding: 9px;
                margin-bottom: 40px;
            }

            .btn {
                font-size: 18px;
                color: #fff;
                padding: 15px 24px;
                border-radius: 4px;
                border: 2px solid #ffffff;
            }
        }
    }
}

.small-program-desc {
    padding: 50px 8%;
    justify-content: center;
    align-items: center;

    img {
        width: 100%;
        max-width: 978px;
        height: auto;
        margin-right: 120px;
    }

    .desc-list {
        flex: 1;

        .desc-item {
            width: 100%;
            padding: 20px 0;
            background: #94A8B8;
            border-radius: 100px;
            border: 2px solid #768FA1;
            text-align: center;
            color: #ffffff;
            font-size: 24px;
            margin-bottom: 40px;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}

.app-case-box {
    padding: 60px 0;

    .app-case-list {
        padding: 0 8%;
        display: flex;
        justify-content: space-between;

        img {
            width: 100%;
            max-width: 285px;
            height: auto;
            margin-bottom: 15px;
        }
    }
}

.contact-box {
    background: url('../images/26.png') no-repeat;
    background-size: cover;

    img {
        width: 100%;
    }

    .contact-content-box {
        padding: 40px 18.75%;
        display: flex;
        justify-content: center;
        align-items: center;

        .form-box {
            padding: 50px 27%;
            border: 3px solid #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 18px;

            input {
                border: none;
                width: 550px;
                height: 50px;
                background: rgba($color: #ffffff, $alpha: 0.7);
                border-radius: 4px;
                padding-left: 9px;
                margin-bottom: 30px;
            }

            textarea {
                border: none;
                resize: none;
                width: 550px;
                height: 150px;
                background: rgba($color: #ffffff, $alpha: 0.7);
                border-radius: 4px;
                padding: 9px;
                margin-bottom: 40px;
            }

            .btn {
                font-size: 18px;
                color: #fff;
                padding: 15px 24px;
                border-radius: 4px;
                border: 2px solid #ffffff;
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .title-box {
        margin-bottom: 0.4rem !important;

        p {
            margin-bottom: 0.2rem !important;

            &:first-child {
                font-size: 0.4533rem;
            }

            &:nth-child(2) {
                font-size: 0.2933rem;
            }
        }
    }
    .small-program-desc {
        padding: 0.4rem !important;
        flex-wrap: wrap;

        img {
            width: 100%;
            margin-right: 0;
            margin-bottom: 0.5333rem;
        }
    }

    .desc-list {
        flex: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        .desc-item {
            width: 4.4rem !important;
            padding: 0.1867rem 0 !important;
            font-size: 0.3467rem !important;
            margin-bottom: 0.4rem !important;
        }
    }

    .process-box {
        background: url('../images/web_phone_41.png') no-repeat;
        background-size: cover;

        padding: 0.5333rem 0 0.1333rem 0 !important;

        .process-list {
            padding: 0 0.4rem !important;
            
            .process-item {
                padding: 0 !important;
                margin-bottom: 0.4rem !important;

                img {
                    width: 0.9333rem !important;
                    margin-right: 0.4rem !important;
                }
                .item-title {
                    font-size: 0.4rem;
                    margin-bottom: 1rem !important;
                    &::after {
                        top: 1rem;
                    }
                }
                .item-desc {
                    font-size: 0.3467rem !important;
                    line-height: 0.64rem;
                }
            }
        }
    }

    .app-case-box {
        padding: 0.4rem !important;

        .app-case-list {
            padding: 0 !important;
            flex-wrap: wrap;
            .img-box {
                margin-bottom: 0.4rem;
                img {
                    max-width: 4rem !important;
                }
                p {
                    font-size: 0.3467rem !important;
                }
            }
        }
    }

    .contact-content-box {
        padding: 0.5333rem 0.8rem !important;

        .form-box {
            width: 100%;
            font-size: 0.3733rem !important;
            padding: 0.6667rem 0.5333rem !important;

            input {
                width: 100% !important;
                height: 0.8rem !important;
                margin-bottom: 0.4rem !important;
            }

            textarea {
                width: 100% !important;
                margin-bottom: 0.4rem !important;
            }

            .btn {
                padding: 0.2133rem 0.2667rem !important;
                font-size: 0.4rem !important;
                font-size: 0.4rem !important;
            }
        }
    }
    .contact-box {
        background: url('../images/index_phone_33.png') no-repeat;
        background-size: cover;
    }

}